import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyMusicList from '@/components/MyMusicList'
import Ranking from '@/components/Ranking'
import Classify from '@/components/Classify'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/mymusic',
      name: 'MyMusicLsit',
      component: MyMusicList
    },
    {
      path: '/classify',
      name: 'Classify',
      component: Classify
    },
    {
      path: '/rank',
      name: 'Ranking',
      component: Ranking
    }
  ]
})
